<?php
/* @var $this CustomerResidentController */
/* @var $model CustomerResident */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'id'); ?>
		<?php echo $form->textField($model,'id'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'sm_storename'); ?>
		<?php echo $form->textField($model,'sm_storename',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'sm_storetype'); ?>
		<?php echo $form->textField($model,'sm_storetype',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'sm_storemanager'); ?>
		<?php echo $form->textField($model,'sm_storemanager',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'sm_mallbranch'); ?>
		<?php echo $form->textField($model,'sm_mallbranch',array('size'=>45,'maxlength'=>45)); ?>
	</div>


	<div class="row">
		<?php echo $form->label($model,'sm_telnum'); ?>
		<?php echo $form->textField($model,'sm_telnum'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'contact_main'); ?>
		<?php echo $form->textField($model,'contact_main',array('size'=>45,'maxlength'=>45)); ?>		
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'contact_address'); ?>
		<?php echo $form->textField($model,'contact_address',array('size'=>60,'maxlength'=>80)); ?>
	</div>	

	<div class="row">
		<?php echo $form->labelEx($model,'contact_maintel'); ?>
		<?php echo $form->textField($model,'contact_maintel',array('size'=>11,'maxlength'=>11)); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'contact_email'); ?>
		<?php echo $form->textField($model,'contact_email',array('size'=>45,'maxlength'=>45)); ?>
	</div>
	
	<div class="row">
		<?php echo $form->labelEx($model,'contact_name'); ?>
		<?php echo $form->textField($model,'contact_name',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'contact_telnum'); ?>
		<?php echo $form->textField($model,'contact_telnum',array('size'=>11,'maxlength'=>11)); ?>
	</div>
	
	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->
